
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module configClass</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>configClass</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/cgroza/Projects/gEcrit/bin/configClass.py">/home/cgroza/Projects/gEcrit/bin/configClass.py</a></font></td></tr></table>
    <p><tt>#&nbsp;-*-&nbsp;coding:&nbsp;utf-8&nbsp;-*-</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="keyword.html">keyword</a><br>
</td><td width="25%" valign=top><a href="os.html">os</a><br>
</td><td width="25%" valign=top><a href="wx.html">wx</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="configClass.html#ConfigNanny">ConfigNanny</a>
</font></dt></dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="ConfigNanny">class <strong>ConfigNanny</strong></a></font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#ConfigNanny">ConfigNanny</a><br>
&nbsp;<br>
Manages&nbsp;the&nbsp;application&nbsp;configuration&nbsp;manipulation.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="ConfigNanny-ApplyIDEConfig"><strong>ApplyIDEConfig</strong></a>(self, text_id, file_ext)</dt><dd><tt>ApplyIDEConfig<br>
&nbsp;<br>
Sets&nbsp;the&nbsp;IDE&nbsp;related&nbsp;features&nbsp;at&nbsp;application&nbsp;startup&nbsp;time.</tt></dd></dl>

<dl><dt><a name="ConfigNanny-ChangeOption"><strong>ChangeOption</strong></a>(self, option, val, IdRange<font color="#909090">=0</font>)</dt><dd><tt>ChangeOption<br>
&nbsp;<br>
Modifies&nbsp;the&nbsp;status&nbsp;of&nbsp;the&nbsp;requested&nbsp;option&nbsp;&nbsp;to&nbsp;the&nbsp;provided<br>
value.<br>
&nbsp;<br>
Updates&nbsp;the&nbsp;configuration&nbsp;dictionary&nbsp;and&nbsp;writes&nbsp;it&nbsp;to&nbsp;file.</tt></dd></dl>

<dl><dt><a name="ConfigNanny-GetOption"><strong>GetOption</strong></a>(self, option)</dt><dd><tt>GetOption<br>
&nbsp;<br>
Return&nbsp;the&nbsp;status&nbsp;of&nbsp;the&nbsp;requested&nbsp;option&nbsp;from&nbsp;the<br>
configuration&nbsp;dictionary.<br>
If&nbsp;something&nbsp;goes&nbsp;wrong,&nbsp;returns&nbsp;from&nbsp;default.</tt></dd></dl>

<dl><dt><a name="ConfigNanny-GetTab"><strong>GetTab</strong></a>(self, tab_name, notebook)</dt><dd><tt>GetTab<br>
&nbsp;<br>
Retrieves&nbsp;a&nbsp;AUI&nbsp;NOTEBOOK&nbsp;tab&nbsp;index&nbsp;from&nbsp;a&nbsp;given&nbsp;name.</tt></dd></dl>

<dl><dt><a name="ConfigNanny-ReadConfig"><strong>ReadConfig</strong></a>(self)</dt><dd><tt>ReadConfig<br>
&nbsp;<br>
Reads&nbsp;the&nbsp;configuration&nbsp;file&nbsp;and&nbsp;generates&nbsp;a&nbsp;configuration<br>
dictionary.<br>
&nbsp;<br>
If&nbsp;something&nbsp;goes&nbsp;wrong,&nbsp;returns&nbsp;from&nbsp;default.</tt></dd></dl>

<dl><dt><a name="ConfigNanny-ToggleFeature"><strong>ToggleFeature</strong></a>(self, event, feature, val, IdRange)</dt><dd><tt>ToggleFeature<br>
&nbsp;<br>
Applyes&nbsp;the&nbsp;changes&nbsp;at&nbsp;application&nbsp;runtime.</tt></dd></dl>

<dl><dt><a name="ConfigNanny-__init__"><strong>__init__</strong></a>(self)</dt><dd><tt>__init__<br>
&nbsp;<br>
Creates&nbsp;a&nbsp;default&nbsp;configuration&nbsp;dictionary&nbsp;and&nbsp;reads&nbsp;the<br>
configuration&nbsp;file.</tt></dd></dl>

</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>Config</strong> = &lt;configClass.ConfigNanny instance&gt;<br>
<strong>SyntCol</strong> = &lt;SyntaxHighlight.SyntaxColorizer instance&gt;</td></tr></table>
</body></html>